Optimal. Leaf size=55 \[ \frac{8 \tan (x)}{15 a^2 \sqrt{a \sec ^2(x)}}+\frac{4 \tan (x)}{15 a \left (a \sec ^2(x)\right )^{3/2}}+\frac{\tan (x)}{5 \left (a \sec ^2(x)\right )^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0266371, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {4122, 192, 191} \[ \frac{8 \tan (x)}{15 a^2 \sqrt{a \sec ^2(x)}}+\frac{4 \tan (x)}{15 a \left (a \sec ^2(x)\right )^{3/2}}+\frac{\tan (x)}{5 \left (a \sec ^2(x)\right )^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4122
Rule 192
Rule 191
Rubi steps
\begin{align*} \int \frac{1}{\left (a \sec ^2(x)\right )^{5/2}} \, dx &=a \operatorname{Subst}\left (\int \frac{1}{\left (a+a x^2\right )^{7/2}} \, dx,x,\tan (x)\right )\\ &=\frac{\tan (x)}{5 \left (a \sec ^2(x)\right )^{5/2}}+\frac{4}{5} \operatorname{Subst}\left (\int \frac{1}{\left (a+a x^2\right )^{5/2}} \, dx,x,\tan (x)\right )\\ &=\frac{\tan (x)}{5 \left (a \sec ^2(x)\right )^{5/2}}+\frac{4 \tan (x)}{15 a \left (a \sec ^2(x)\right )^{3/2}}+\frac{8 \operatorname{Subst}\left (\int \frac{1}{\left (a+a x^2\right )^{3/2}} \, dx,x,\tan (x)\right )}{15 a}\\ &=\frac{\tan (x)}{5 \left (a \sec ^2(x)\right )^{5/2}}+\frac{4 \tan (x)}{15 a \left (a \sec ^2(x)\right )^{3/2}}+\frac{8 \tan (x)}{15 a^2 \sqrt{a \sec ^2(x)}}\\ \end{align*}
Mathematica [A] time = 0.0278019, size = 36, normalized size = 0.65 \[ \frac{(150 \sin (x)+25 \sin (3 x)+3 \sin (5 x)) \cos (x) \sqrt{a \sec ^2(x)}}{240 a^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.064, size = 31, normalized size = 0.6 \begin{align*}{\frac{\sin \left ( x \right ) \left ( 3\, \left ( \cos \left ( x \right ) \right ) ^{4}+4\, \left ( \cos \left ( x \right ) \right ) ^{2}+8 \right ) }{15\, \left ( \cos \left ( x \right ) \right ) ^{5}} \left ({\frac{a}{ \left ( \cos \left ( x \right ) \right ) ^{2}}} \right ) ^{-{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.83415, size = 30, normalized size = 0.55 \begin{align*} \frac{3 \, \sin \left (5 \, x\right ) + 25 \, \sin \left (3 \, x\right ) + 150 \, \sin \left (x\right )}{240 \, a^{\frac{5}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.44471, size = 96, normalized size = 1.75 \begin{align*} \frac{{\left (3 \, \cos \left (x\right )^{5} + 4 \, \cos \left (x\right )^{3} + 8 \, \cos \left (x\right )\right )} \sqrt{\frac{a}{\cos \left (x\right )^{2}}} \sin \left (x\right )}{15 \, a^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 17.4853, size = 60, normalized size = 1.09 \begin{align*} \frac{8 \tan ^{5}{\left (x \right )}}{15 a^{\frac{5}{2}} \left (\sec ^{2}{\left (x \right )}\right )^{\frac{5}{2}}} + \frac{4 \tan ^{3}{\left (x \right )}}{3 a^{\frac{5}{2}} \left (\sec ^{2}{\left (x \right )}\right )^{\frac{5}{2}}} + \frac{\tan{\left (x \right )}}{a^{\frac{5}{2}} \left (\sec ^{2}{\left (x \right )}\right )^{\frac{5}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.44072, size = 113, normalized size = 2.05 \begin{align*} \frac{2 \,{\left (15 \,{\left (\frac{1}{\tan \left (\frac{1}{2} \, x\right )} + \tan \left (\frac{1}{2} \, x\right )\right )}^{4} \mathrm{sgn}\left (-\tan \left (\frac{1}{2} \, x\right )^{2} + 1\right ) - 40 \,{\left (\frac{1}{\tan \left (\frac{1}{2} \, x\right )} + \tan \left (\frac{1}{2} \, x\right )\right )}^{2} \mathrm{sgn}\left (-\tan \left (\frac{1}{2} \, x\right )^{2} + 1\right ) + 48 \, \mathrm{sgn}\left (-\tan \left (\frac{1}{2} \, x\right )^{2} + 1\right )\right )}}{15 \, a^{\frac{5}{2}}{\left (\frac{1}{\tan \left (\frac{1}{2} \, x\right )} + \tan \left (\frac{1}{2} \, x\right )\right )}^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]